package com.kksoft.readcm.a;

import com.kksoft.readcm.activity.App;
import com.kksoft.readcm.b.l;
import com.kksoft.readcm.objects.aa;
import com.kksoft.readcm.objects.GlobalVar;

import java.util.ArrayList;
import java.util.Observable;
import java.util.Observer;
import java.util.concurrent.ConcurrentHashMap;

public final class am extends AppObservable
  implements Observer
{
  private final ConcurrentHashMap k;
  private final ConcurrentHashMap l;
  private final aa m=null;
  private String n;

  public am()
  {
    //aa localaa = new aa(2, 2);
   // this.m = localaa;
    ConcurrentHashMap localConcurrentHashMap1 = new ConcurrentHashMap();
    this.k = localConcurrentHashMap1;
    ConcurrentHashMap localConcurrentHashMap2 = new ConcurrentHashMap();
    this.l = localConcurrentHashMap2;
  }

  public final String a()
  {
    return this.n;
  }

  public final void a(l paraml)
  {
    if (paraml.d() == null);
    while (true)
    {
      return;
      //ConcurrentHashMap localConcurrentHashMap = this.k;
      //String str = paraml.d().k();
      //Object localObject = localConcurrentHashMap.remove(str);
      //if ((paraml.d().j() == null) || (!paraml.e()))
        //continue;
     // com.kksoft.readcm.objects.j localj = paraml.d();
     // h localh = new h(40, null, 0, localj);
      //this.h.a(localh);
    }
  }

  public final void a(String paramString)
  {
    this.n = paramString;
  }

  public final void a(String paramString1, int paramInt1, int paramInt2, String paramString2)
  {
    Appconfig localaf = this.b;
    com.kksoft.readcm.objects.j localj = com.kksoft.readcm.objects.j.a(paramString1, localaf);
    l locall;
    if (localj != null)
    {
      int i = 0;
      if ((!localj.g()) && (this.g.a(localj)))
        i = 1;
      localj.a(paramInt1, paramInt2, paramString2);
      ConcurrentHashMap localConcurrentHashMap1 = this.k;
      String str1 = localj.k();
      if (!localConcurrentHashMap1.containsKey(str1))
      {
        //locall = new l(localj, paramInt2, this);
        //if (i == 0)
          //break label168;
        ConcurrentHashMap localConcurrentHashMap2 = this.l;
        String str2 = localj.d();
        ArrayList localArrayList = (ArrayList)localConcurrentHashMap2.get(str2);
        if (localArrayList == null)
          localArrayList = new ArrayList();
        //boolean bool = localArrayList.add(locall);
        ConcurrentHashMap localConcurrentHashMap3 = this.l;
        String str3 = localj.d();
        Object localObject = localConcurrentHashMap3.put(str3, localArrayList);
      }
    }
    while (true)
    {
      return;
      //label168: this.m.a(locall);
    }
  }

  public final void i()
  {
    super.i();
    this.m.c();
  }

  public final void update(Observable paramObservable, Object paramObject)
  {
    //h localh = h.a(paramObject);
    //App.a(new j(this, localh));
  }
}

/* Location:           E:\AndroidDecompiler\jd-gui-0.3.3.windows\newrclasses.dex.dex2jar.jar
 * Qualified Name:     com.kksoft.readcm.a.am
 * JD-Core Version:    0.6.0
 */